package net.qhzw.vip.qiyu.model;


import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "退车明细")
@AllArgsConstructor
@NoArgsConstructor
public class RetreatDetailed {

    private Long id;

    @Excel(name = "租户名称", width = 12)
    private String realName;

    @Excel(name = "身份证号码", width = 20)
    private String idCard;

    @Excel(name = "手机号", width = 15)
    private String mobile;

    @Excel(name = "租车站点", width = 15)
    private String communityName;

    private Long guaranteeCompanyId; //担保公司

    @Excel(name = "担保站点", width = 15)
    private String siteName; //担保站点

    @Excel(name = "租车时间", width = 15, exportFormat = "yyyy年MM月dd日 HH:mm:ss")
    private Date rentalTime; //租车时间

    @Excel(name = "结算费用")
    private BigDecimal rentalBalance;

    @Excel(name = "其他费用")
    private BigDecimal othrFee; //其他费用

    @Excel(name = "押金")
    private BigDecimal deposit; //押金

    @Excel(name = "租金")
    private BigDecimal rent; //租金

    @Excel(name = "租车总金额")
    private BigDecimal advanceRcptRent; //租车总金额

    @Excel(name = "日租金")
    private BigDecimal dayRent; //电池日租金

    /**
     * 租赁方式
     */
    @Excel(name = "租聘方式", replace = {"整车_1", "电池_2"})
    private int lease;

    @Excel(name = "退车申请时间", width = 15, exportFormat = "yyyy年MM月dd日 HH:mm:ss")
    private Date created; //退车申请时间

    @Excel(name = "退车审核时间", width = 15, exportFormat = "yyyy年MM月dd日 HH:mm:ss")
    private Date retreatTime; //退车时间


    //private String rfndCertificate;//退费凭证

    @Excel(name = "退车状态", replace = {"新申请_1", "待上传退费凭证_2", "待上传收账凭证_3", "费用已完结_4", "在线支付,自动完结_5"}, width = 12)
    private Byte status; //退车状态

    @Excel(name = "维修费用")
    private BigDecimal repairMaint; //维修费用


}
